.comment-container {
    width: 100%;
    margin: 0 auto;
}
.comment-container .layui-card {
    box-shadow:none;
}
.comment-container .layui-card-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
.comment-container .comment-item {
    padding: 15px;
    margin-bottom: 15px;
    background: #fbfbfb;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.comment-container .comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.comment-container .comment-author {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}
.comment-container .comment-time {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}
.comment-container .comment-content {
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 10px;
}
.comment-container .comment-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.comment-container .comment-actions .reply {
    padding-left: 15px;
    padding-right: 15px;
}
.layui-btn-primary:hover {
    background-color: #FFFFFF;
    border-color: #148AFF;
}
.comment-container .reply-list {
    margin-left: 15px;
    border-left: 1px solid #eee;
    padding-left: 15px;
    margin-top: 10px;
}
.comment-container .reply-item {
    margin: 10px 0;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
}
.comment-container .nested-reply {
    margin-top: 15px;
    margin-left: 15px;
    position: relative;
    border: 1px solid #f5f5f5;
    padding: 15px;
}
.emoji-panel {
    padding: 10px;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
}
.emoji-item {
    cursor: pointer;
    font-size: 20px;
    padding: 3px;
    transition: transform 0.2s;
    text-align: center;
}
.emoji-item:hover {
    transform: scale(1.2);
    background: #f0f0f0;
}
@media (max-width: 768px) {
    .comment-container {
        padding: 10px;
    }
    .comment-container .reply-list, .comment-container .nested-reply {
        margin-left: 15px;
        position: relative;
    }
}
.comment-container .pagination {
    margin: 0 0 20px 0;
    text-align: center;
}
.comment-container .pagination button.active {
    background: #959595;
    color: #fff;
    border-color: #fff;
}
.layui-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}
/* 点赞动画 */
@keyframes likePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.layui-btn-primary.layui-btn-radius:active i {
    animation: likePop 0.3s ease;
}
.reply-to {
    color: #666;
    font-size: 12px;
    margin-left: 8px;
}
.nested-reply {
    margin-left: 40px;
    border-left: 2px solid #eee;
    padding-left: 15px;
}